package com.smile.frame.springbootsatoken.config.core;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Box 盒子类，用于存储 [ HttpServletRequest、HttpServletResponse ] 个包装对象
 *
 * @author click33
 * @since 1.16.0
 */
public class TokenContextModelBox {

    public HttpServletRequest request;

    public HttpServletResponse response;


    public TokenContextModelBox(HttpServletRequest request, HttpServletResponse response) {
        this.request = request;
        this.response = response;
    }

    public HttpServletRequest getRequest() {
        return request;
    }

    public void setRequest(HttpServletRequest request) {
        this.request = request;
    }

    public HttpServletResponse getResponse() {
        return response;
    }

    public void setResponse(HttpServletResponse response) {
        this.response = response;
    }


    @Override
    public String toString() {
        return "Box [request=" + request + ", response=" + response + "]";
    }

}